package ChaiPiao.util;

import java.util.LinkedList;
import java.util.List;

public class CombineUtil {
    public static List<int[]> combine(int[] values, int base) {
        CombineIterator itr = new CombineIterator(values, base);
        List<int[]> list = new LinkedList<int[]>();
        while (itr.hasNext()) {
            int[] a = itr.next();
            list.add(a);
        }
        return list;
    }
}
